package top.laoshuzi.designpatterns.base.created.singleton.kotlin

import org.junit.Test

class Client {

    @Test
    fun operation() {
        println(Singleton.INSTANCE.getInstanceName())
        println(Singleton1.getName())
        println(Singleton2.getInstance().getName())
        println(Singleton3.getInstance().getName())
        println(Singleton4.getInstance().getName())
    }

}